import Vue from 'vue'
const requireComponent = require.context('./', true, /.vue$/)

requireComponent.keys().forEach(item => {
  var defaultCom = requireComponent(item).default
  Vue.component(defaultCom.name, defaultCom)
})
